import request from '@/utils/request'

// 查询生活状况模块列表
export function listLiving_condition_info(query) {
  return request({
    url: '/archive_info/living_condition_info/list',
    method: 'get',
    params: query
  })
}

// 查询生活状况模块详细
export function getLiving_condition_info(id) {
  return request({
    url: '/archive_info/living_condition_info/' + id,
    method: 'get'
  })
}

// 新增生活状况模块
export function addLiving_condition_info(data) {
  return request({
    url: '/archive_info/living_condition_info',
    method: 'post',
    data: data
  })
}

// 修改生活状况模块
export function updateLiving_condition_info(data) {
  return request({
    url: '/archive_info/living_condition_info',
    method: 'put',
    data: data
  })
}

// 删除生活状况模块
export function delLiving_condition_info(id) {
  return request({
    url: '/archive_info/living_condition_info/' + id,
    method: 'delete'
  })
}

// 导出生活状况模块
export function exportLiving_condition_info(query) {
  return request({
    url: '/archive_info/living_condition_info/export',
    method: 'get',
    params: query
  })
}